export default {    
    dateFormatYYYY_MM_DD (oldDate) {
        let now = new Date(oldDate)
        let year = now.getFullYear()
        let month = now.getMonth()
        let date = now.getDate()
        month = month + 1
        month = month.toString().padStart(2, '0')
        date = date.toString().padStart(2, '0')
        let dateStr = year + '-' +  month + '-' + date
        return dateStr
}
         
}